<?php /* Smarty version 2.6.18, created on 2016-12-28 00:07:36
         compiled from mail/mail.info.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "mail/mail.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        <!-- /.col -->
          <div class="col-md-9">
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">读邮件</h3>

              <div class="box-tools pull-right">
				<?php if ($this->_tpl_vars['mail_last'] != ""): ?>
                <a href="index.php?a=mail.info&mail_id=<?php echo $this->_tpl_vars['mail_last']; ?>
" class="btn btn-box-tool" data-toggle="tooltip" title="上一篇"><i class="fa fa-chevron-left"></i></a>
				<?php endif; ?>
				<?php if ($this->_tpl_vars['mail_next'] != ""): ?>
                <a href="index.php?a=mail.info&mail_id=<?php echo $this->_tpl_vars['mail_next']; ?>
" class="btn btn-box-tool" data-toggle="tooltip" title="下一篇"><i class="fa fa-chevron-right"></i></a>
				<?php endif; ?>
              </div>

            </div>
            <!-- /.box-header -->
            <div class="box-body no-padding">
              <div class="mailbox-read-info">
                <h3><?php echo $this->_tpl_vars['mail_data']['mail_title']; ?>
</h3>
                <h5>来自: <?php echo $this->_tpl_vars['mail_data']['mail_fromname']; ?>

                  <span class="mailbox-read-time pull-right"><?php echo $this->_tpl_vars['mail_data']['create_time']; ?>
</span></h5>
              </div>
              <!-- /.mailbox-read-info -->
              <div class="mailbox-controls with-border text-center">
                <div class="btn-group">
				<?php if ($this->_tpl_vars['is_del'] == '1'): ?>
                  <a href="index.php?a=mail.del&mail_id=<?php echo $this->_tpl_vars['mail_data']['mail_id']; ?>
" class="btn btn-default btn-sm" data-toggle="tooltip" data-container="body" title="删除">
				
                    <i class="fa fa-trash-o"></i></a>
                  <a href="index.php?a=mail.add&type=replay&mail_id=<?php echo $this->_tpl_vars['mail_data']['mail_id']; ?>
"class="btn btn-default btn-sm" data-toggle="tooltip" data-container="body" title="回复">
                    <i class="fa fa-reply"></i></a>
                  <a href="index.php?a=mail.add&type=forward&mail_id=<?php echo $this->_tpl_vars['mail_data']['mail_id']; ?>
" class="btn btn-default btn-sm" data-toggle="tooltip" data-container="body" title="转发">

                    <i class="fa fa-share"></i></a>
				<?php endif; ?>
                </div>
                <!-- /.btn-group -->
              </div>
              <!-- /.mailbox-controls -->
              <div class="mailbox-read-message">
                <p><?php echo $this->_tpl_vars['mail_data']['mail_content']; ?>
</p>
              </div>
            </div>
            <!-- /.box-body -->
			<?php if ($this->_tpl_vars['mail_data']['mail_file'] != ""): ?>
            <div class="box-footer">
              <ul class="mailbox-attachments clearfix">
				<?php $_from = $this->_tpl_vars['mail_data']['mail_file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                <li>

                  <div class="mailbox-attachment-info">
                    <a href="index.php?a=mail.file&mail_id=<?php echo $this->_tpl_vars['mail_id']; ?>
&fname=<?php echo $this->_tpl_vars['value']['fname']; ?>
" class="mailbox-attachment-name"><i class="fa fa-paperclip"></i> <?php echo $this->_tpl_vars['value']['fname']; ?>
</a>
                        <span class="mailbox-attachment-size">
                          <?php echo $this->_tpl_vars['value']['fsize']; ?>
 KB
                          <a href="index.php?a=mail.file&mail_id=<?php echo $this->_tpl_vars['mail_id']; ?>
&fname=<?php echo $this->_tpl_vars['value']['fname']; ?>
" class="btn btn-default btn-xs pull-right"><i class="fa fa-cloud-download"></i></a>
                        </span>
                  </div>
                </li>
				<?php endforeach; endif; unset($_from); ?>
              </ul>
            </div>
			<?php endif; ?>
            <!-- /.box-footer -->
            <div class="box-footer">
				<?php if ($this->_tpl_vars['is_del'] == '1'): ?>
              <div class="pull-right">
                <a href="index.php?a=mail.add&type=replay&mail_id=<?php echo $this->_tpl_vars['mail_data']['mail_id']; ?>
" class="btn btn-default"><i class="fa fa-reply"></i> 回复</a>
                <a href="index.php?a=mail.add&type=forward&mail_id=<?php echo $this->_tpl_vars['mail_data']['mail_id']; ?>
" class="btn btn-default"><i class="fa fa-share"></i> 转发</a>
              </div>

              <a href="index.php?a=mail.del&mail_id=<?php echo $this->_tpl_vars['mail_data']['mail_id']; ?>
" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a>
				<?php endif; ?>
            </div>
            <!-- /.box-footer -->
          </div>
          <!-- /. box -->
        </div>
        <!-- /.col -->
      </div>
      <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<script src="static/js/icheck.min.js"></script><!--邮箱-->
